//
//  Nurse.h
//  05-循环遍历
//
//  Created by dllo on 16/7/8.
//  Copyright © 2016年 高雅馨. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Nurse : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSInteger age;
-(instancetype)initWithName:(NSString *)name  Age:(NSInteger)age;
+(instancetype)nurseWithName:(NSString *)name  Age:(NSInteger)age;
-(NSComparisonResult)sortByAge:(Nurse *)nurse;
-(NSComparisonResult)sortByName:(Nurse *)nurse;
@end
